<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of soaUsers
 *
 * @author dxx
 */

namespace app\common\model\jsm;
use think\Model;

class Keywords extends Model {

    protected $table = 'jj_keywords';
    protected $connection = ['database' => 'jooj_jsm'];

    public function getKeywordsByCondition($condition,$field='*'){
        return $this->where($condition)->field($field)->find();
    }
}
